from django.contrib import admin
from .models import Label, Article


class LabelAdmin(admin.ModelAdmin):
    search_fields = ('name',)
    list_filter = ('create_time',)


# Register your models here.
admin.site.register(Label, LabelAdmin)
admin.site.register(Article)
